﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pcb.BLL
{
    public partial class manager
    {
        
        /// <summary>
        /// 根据用户名密码返回一个实体
        /// </summary>
        public Model.manager GetModel(string user_name, string user_pwd, bool IsSuperPwd)
        {
            if (IsSuperPwd)
                return dal.GetModel(user_name);
            else
                return dal.GetModel(user_name, user_pwd);
        } 


    }
}
